body {
    font-family: Arial, sans-serif;
    background-color: #121212;
    color: #e0e0e0;
    margin: 0;
    padding: 0;
}

.header {
    padding: 10px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: #e0e0e0;
}

.message-list {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background-color: #1e1e1e;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.message-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #333;
    cursor: pointer;
    /* 添加鼠标指针样式 */
    transition: background-color 0.3s ease;
    /* 添加过渡效果 */
}

.message-item:first-child {
    border-top: 1px solid #333;
}

.message-item:hover {
    background-color: #333;
    /* 鼠标悬停时的背景颜色 */
}

.message-item:active {
    background-color: #555;
    /* 被点击时的背景颜色 */
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
}

.content {
    flex: 1;
}

.name {
    font-size: 16px;
    font-weight: bold;
}

.description {
    font-size: 12px;
    color: #b0b0b0;
}

.buttons {
    display: flex;
    gap: 5px;
}

.button {
    width: 60px;
    height: 60px;
    border: 2px solid #ffffff;
    border-radius: 10px;
    background-color: #2c2c2c;
    background-size: 30px 30px;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

.button.phone {
    background-image: url('../images/phone.png');
}

.button.video {
    background-image: url('../images/video.png');
}

.button:hover {
    background-color: #1a1a1a;
}

#navbar {
    background-color: #1e1e1e;
}

#navbar a[href="/chat"] {
    font-weight: bold; /* 加粗字体 */
}

#navbar a:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

#navbar img {
    width: 35px;
    /* 增加图片的宽度 */
    height: 35px;
    /* 增加图片的高度 */
    margin-right: 0;
    /* 移除图片与文字之间的间距 */
}